package com.carol.lmsbe.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 设备借用更新请求DTO
 */
@Data
public class EquipmentBorrowUpdateRequest {

    @NotNull(message = "借用记录ID不能为空")
    private Long id;

    @NotNull(message = "借用日期不能为空")
    private LocalDateTime borrowDate;

    private LocalDateTime returnDate;

    private String status;

    private String remark;
}
